#ifndef _DBBRAWDATACONTAINER_H_
#define _DBBRAWDATACONTAINER_H_

#include "dbb.h"
#include "core/dbbreferencedobject.h"

//------------------------------------------------------------------------
class RawDataContainer : public ReferencedObject
{
public:
	RawDataContainer();
	~RawDataContainer();

	void			setData(uint8* data);
	uint8*			getDataPtr();
	const uint8*	getDataPtr() const;
	void			setSize(dbbsize size);
	dbbsize			getSize() const;
	void			release();

private:
	uint8*			m_data;
	dbbsize			m_size;
};

#include "dbbrawdatacontainer.inl"

#endif